package com.jd.nbd.strategy04;

/**
 * Created by liyue on 2017/8/24
 */
public class IntermediateMemberStrategy implements MemberStrategy {

  @Override
  public double calcPrice(double booksPrice) {

    System.out.println("对于中级会员的折扣为10%");
    return booksPrice * 0.9;
  }

}